import Vue from 'vue'
import App from './App.vue'
import './plugins/vant.js'

import * as api from './api'
import router from './router'

Vue.config.productionTip = false
// 把所有的接口挂载在全局上
Vue.prototype.$http = api

new Vue({
  render: h => h(App),
  router
}).$mount('#app')
